package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.domain.JazGroupProdDO;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzweb.domain.vo.JazGroupProdVo;

import java.text.ParseException;

/**
 * 
 * <pre>
 * 团购商品表
 * </pre>
 * <small> 2024-05-11 13:54:18 | Long</small>
 */
public interface JazGroupProdService extends CoreService<JazGroupProdDO> {

    Result<Page<JazGroupProdDO>> selGroupProdList(String name, int current, int size);

    void saveGroupProd(JazGroupProdVo jazGroupProd) throws ParseException;

    JazGroupProdVo getInfo(Long id);

    void updateGroupProd(JazGroupProdVo jazGroupProd) throws ParseException;
}
